package com.ruicar.afs.cloud.apply.contract.service;

import com.ruicar.afs.cloud.image.entity.ComAttachmentFile;

import java.util.List;

/**
 * @description: 生成合同模板实现类
 * @author: sijun.yu
 * @date: 2020/7/23 16:22
 */
public interface CreatContractService {

    /**
     * 合同信息录入-批量模板
     *
     * @param applyNo
     */
    public List<ComAttachmentFile> contractBatchPrint(String applyNo,String contractNo,String serviceClientType);

    /**
     * 合同信息录入-单个模板
     * @param applyNo
     * @param contractNo
     * @param attachmentFile
     * @return
     */
    public ComAttachmentFile contractSinglePrint(String applyNo,String contractNo,ComAttachmentFile attachmentFile,String serviceClientType);

    /**
     * 进件申请-批量模板生成
     *
     * @param applyNo
     */
    public List<ComAttachmentFile> applyBatchPrint(String applyNo,String serviceClientType);

    /**
     * 进件申请-单个模板生成
     * @param applyNo
     * @param attachmentFile
     * @return
     */
    public ComAttachmentFile applySinglePrint(String applyNo,ComAttachmentFile attachmentFile,String serviceClientType);

    /**
     * 预审批-批量模板生成
     * @param busiType
     * @param id
     * @return
     */
    public List<ComAttachmentFile> preAuthorBatchPrint(String busiType, Long id,String serviceClientType);

    /**
     * 进件征信授权书-模板生成
     *
     * @param applyNo
     */
    public List<ComAttachmentFile> applyAuthorBatchPrint(String busiType,String applyNo,String certNo,String serviceClientType);

    /**
     * 预审批-单个模板生成
     * @param busiType
     * @param busiNo
     * @param attachmentFile
     * @return
     */
    public ComAttachmentFile preAuthorSinglePrint(String busiType, String busiNo,ComAttachmentFile attachmentFile,String serviceClientType);

    /**
     * 进件申请-单个模板生成
     * @param applyNo
     * @param attachmentFile
     * @return
     */
    public ComAttachmentFile applySinglePrintByCustId(String applyNo, ComAttachmentFile attachmentFile, String serviceClientType);
}
